package com.orchard.orchardfarmmanagementsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orchard.orchardfarmmanagementsystem.entity.TaskOrchardRelation;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaskOrchardRelationMapper extends BaseMapper<TaskOrchardRelation> {

    @Insert("INSERT INTO taskorchardrelation (task_id, orchard_id) VALUES (#{taskId}, #{orchardId})")
    void insertTaskOrchardRelation(Integer taskId, Integer orchardId);
}